package praca.interfejsy;

import javax.microedition.khronos.opengles.GL10;

import praca.framework.TextureAtlas;
import praca.framework.Vertices;
import android.graphics.Bitmap;
import android.graphics.Color;

public interface Graphics {
	
	void drawImage(Bitmap bitmap, Vertices position);
	void drawRect(Vertices vert);
	void drawRect(int x1, int y1, int x2, int y2, Color color);
	void clearScreen();
	void drawLine();
	void setGL(GL10 gl);
	void drawRandomColor();
	void drawColor(float r, float g, float b);
	GL10 getGl();
	void drawTexture(Texture texture, Vertices position);
	void drawTexture(TextureAtlas textureAtlas, Vertices vertices, int nrSprites);
//	void drawTexture(Texture texture, int width, int height);
	void setDefaultColor(float r, float g, float b, float alpha);
	void moveTexture(float x, float y);
	void rotateTexture(float angle);
	void clearTransformations();
	void setTextureTransparentBackground();
	void setTransparency(float alpha);
	void scaleTexture(float x, float y);
	void drawTriangle(Vertices vert) ;
	void enableDrawingStates();
}
